﻿namespace LP
{
    public sealed class IDGenerator
    {
        private int id = 0;
        public int Current 
        {
            get
            {
                return id;
            }
        }

        public int Next
        {
            get
            {
                return ++id;
            }
        }
    }
}